<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace Database\Factories;

use App\Models\CheckUserProfile;
use Illuminate\Database\Eloquent\Factories\Factory;

class CheckUserProfileFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = CheckUserProfile::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->name,
            'phone' => $this->faker->phoneNumber,
            'sex' => 1,
            'address' => $this->faker->address,
            'birthday' => $this->faker->date(),
            'id_card_number' => '12212121212121',
            'native_place' => $this->faker->address,
            'marital_status' => 1,
            'has_children' => 1,
            'education' => 1,
            'residence_place' => 1,
            'come_beijing_time' => $this->faker->date(),
            'now_address' => $this->faker->address,
            'company_name' => $this->faker->company,
            'industry' => 1,
            'urgent_people' => $this->faker->name,
            'urgent_people_phone' => $this->faker->phoneNumber,
            'has_contribution' => 1,
            'contribution' => $this->faker->text,
            'has_violated' => 1,
            'violated_detail' => $this->faker->text,
            'identity' => 1,
        ];
    }
}
